package com.panshi.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 资讯表
 * </p>
 *
 * @author xhlMr
 * @since 2020-08-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AppEssayT对象", description="资讯表")
public class AppEssayT implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Integer essayId;

    @ApiModelProperty(value = "分类id")
    private Integer classifyId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "资讯标题")
    private String essayTitle;

    @ApiModelProperty(value = "咨迅大纲")
    private String essaySynopsis;

    @ApiModelProperty(value = "资讯内容")
    private String essayContent;

    @ApiModelProperty(value = "上架时间")
    private Date groundTime;

    @ApiModelProperty(value = "图片路径")
    private String imgPath;

    @ApiModelProperty(value = "评论量")
    private Long commentCount;

    @ApiModelProperty(value = "阅读量")
    private Long readCount;

    @ApiModelProperty(value = "收藏量")
    private Long collectCount;

    @ApiModelProperty(value = "是否置顶: y是; n否")
    private String essayIstop;

    @ApiModelProperty(value = "咨询分类ID")
    private ClassifyT classifyT;
}
